|
|
|
|
|
|
|
In most applications, the standard way to display a list from which to choose is by using a combo box. However, if you are displaying data from a database, the Grid control is usually the control of choice. In addition, try not to use controls for a purpose for which they were not designed. Although text box controls can be set to read-only and used to display data, a Label control is more normally used for this purpose. Not only is a label designed to display read-only information, it takes up less system resources than a TextBox control. |
|
|
|
|
|
|
|
|
Unless you are planning to distribute fonts with your application, you should use only the standard Windows fonts, such as Ariel, New Times Roman, or System. If you deviate from these and the user's PC doesn't have the font that you used, it will substitute the font with the next font listed alphabetically in the font list. This can usually be fixed by installing the font, but it can be very frustrating to the user until the problem is resolved. Figure 7.7 shows how a form looks using the font Wide Latin if the font was not available on the computer. This happens because of the way Windows searched for a replacement font. The font that would be used is completely dependent on the fonts installed on the reader's computer. The next font in the list is Wing Dings, which as you can see is not exactly English. |
|
|
|
|
|
|
|
|
Figure 7.7.
Choosing standard fonts will prevent very
strange substitutions by the Windows
operating system. |
|
|
|
|
|
|
|
|
You should keep the same style as you move from form to form. Don't change fonts, colors, or control sizes on different forms; this only annoys the user. Finally, design your forms with some thought, and then step back and look at them. If you do not think they look good, a user probably won't either. |
|
|
|
|
|